package com.fuhao.adapter.object;

import java.net.CookieHandler;

//电饭锅,假定默认110v
public class ElectricCooker {
	private Power jp110vInterface;
	public ElectricCooker(Power jp110vInterface) {
		this.jp110vInterface = jp110vInterface;
	}
	
	public void cookie() {
		jp110vInterface.connect();
		System.out.println("开始做饭。。。");
	}
}
